*{
    margin: 0;
    padding: 0;
}
.whole{
    width: 100%;
    height: auto;
    position: absolute;
    margin: 0 auto;
}
.top{
	background-color: black;
	width: 100%;
	height: 30px;
    margin: 0 auto;
	position: relative;
}
.blackTop{
    width: 600px;
    height: 30px;
    margin-left: 50%;
    background-color: black;
}
.blackTop li{
    display: inline-block;
    list-style: none; 
    height: 30px;
    text-align: center;
    margin-left: 8%;
    color: grey;
}
.blackTop li:hover{
    color: red;
    cursor: pointer;
}
.content{
    width: 1263px;
    height: auto;
    margin: 0 auto;
    position: relative;
}
.logo{
    width: 8%;
    height: 8%;
    margin: 2% 15%;
}
.logo img{
    width: 100%;
    height: 100%;
    border-radius: 60px;
}
.seek{
    margin: -11% 41%;
    width: 54%;
    height: 20%;
}
.seek input[type="text"]{
    width: 65%;
    height: 5%;
    padding: 2%;
    border-radius: 10px;
    border:2px solid red;
    outline: none;
}
.seek input[type="button"]{
    width: 9%;
    height: 5%;
    margin: 9% -9.7%;
    padding: 2%;
    border: 0 ;
    border-radius: 0px 10px 10px 0;
    background-color: red;
}
.good{
    width: 350px;
    height: 400px;
    background-color: grey;
    margin: 16% 10%;
}
.good img{
    width: 100%;
}
.name{
    width: 45%;
    height: auto;
    margin: -45% 41%;
    font-size: 22px;
    color:rgb(114, 114, 114)
}
.price{
    width:39%;
    color:red;
    margin: 53% 41%;
}
.price:before{
    content: "￥ ";
    color: red;
}

.buy{
    width: 15%;
    height: 50px;
    margin: 56% 41%;
}
.addcar{
    width: 15%;
    height: 50px;
    background-color:grey;
    margin: -60% 60%;
}
.addlike{
    width: 15%;
    height: 50px;
    background-color:orangered;
    margin: 56% 79%;
}
#buy{
    width:100%;
    height: 100%;
    background-color: red;
    border: 0px;
    font-size: 22px;
}
#addcar{
    width: 100%;
    height: 100%;
    background-color: rgb(170, 170, 170);
    border: 0px;
    font-size: 22px;
}

#addlike{
    width: 100%;
    height: 100%;
    background-color: orangered;
    border: 0px;
    font-size: 22px;
}
#buy:hover{
    cursor: pointer;
    background-color: maroon;
}
#addcar:hover{
    cursor: pointer;
    background-color: gray;
}
#addlike:hover{
    cursor: pointer;
    background-color: red;
}
.add input{
    width: 100%;
    text-align: center;
    font-size: 16px;
    height: 100%;
    border: 1px solid red;
}
.char{
    width: 3%;
    height: 42px;
    margin: 48% 44%;
}
#sub{
    width: 1%;
    margin: -51.1% 41.5%;
    font-size: 30px;
    color: grey;
}
#add{
    width: 1%;
    margin: -51.5% 49%;
    font-size: 30px;
    color:grey
}
#sub:hover{
    cursor: pointer;
    color: black;
}
#add:hover{
    cursor: pointer;
    color:black
}
.order{
    position:relative;
    width:450px;
    height:400px;
    background-color: #d0cfcf;
    margin:-633px auto;
    border-radius: 10px;
}
.shopcar{
    position: fixed;
    width: 10%;
    height: 40px;
    right: -7%;
    bottom: 20%;
    z-index: 100;
    border-radius: 15px 0px 0px 15px;
    background-color: rgb(248, 244, 244);
}
.shopcar img{
    height: 100%;
}
.shopcar a{
    text-decoration: none;
}
.shoppingcar{
    width: 60%;
    margin: -27% 40%;
    font-size: 16px;
    color: red;
}
.shopcar:hover{
    background-color: rgb(180, 178, 178);
    transform: translateX(-69%);
    transition: 1s;
    cursor:pointer;
}
.gotop{
    display: none;
    position: fixed;
    width: 10%;
    height: 40px;
    right: -7%;
    bottom: 13%;
    z-index: 100;
    border-radius: 15px 0px 0px 15px;
    background-color: rgb(248, 244, 244);
}
.gotop img{
    height: 100%;
}
.gotop a{
    text-decoration: none;
}
.goTop{
    width: 60%;
    margin: -27% 40%;
    font-size: 16px;
    color: red;
}
.gotop:hover{
    background-color: rgb(180, 178, 178);
    transform: translateX(-69%);
    transition: 1s;
}